package com.joezhou.factory.abstractfactory;

interface Engine {
    void info();
}

class GoodEngine implements Engine {
    @Override
    public void info() {
        System.out.println("好发动机...");
    }
}

class BadEngine implements Engine {
    @Override
    public void info() {
        System.out.println("坏发动机...");
    }
}